package com.bci.pwtz.mysql.model;

import java.util.Date;

public class Dyxl {
    private String deviceid;

    private String devicename;

    private String devicenumber;

    private Integer devicetype;

    private String transformercode;

    private String localcity;

    private String operationunit;

    private String maintenanceteam;

    private String voltagelevel;

    private String equipmentstate;

    private String operationstate;

    private String commissioningdate;

    private String linetype;

    private double totallinelength;

    private double overheadlinelength;

    private double cablelength;

    private String equipmentowner;

    private String assetsnature;

    private String assetunit;

    private String assetnumber;

    private String note;

    private Long createid;

    private Long companyid;

    private Date createdate;

    private Date lastmodifiedtime;

    private Integer status;

    private String giscode;

    private Long lastoperatorid;

    private Integer syncstatus=0;

    public String getDeviceid() {
        return deviceid;
    }

    public void setDeviceid(String deviceid) {
        this.deviceid = deviceid == null ? null : deviceid.trim();
    }


    public String getDevicename()
    {
        return devicename;
    }

    public void setDevicename(String devicename)
    {
        this.devicename = devicename;
    }

    public String getDevicenumber() {
        return devicenumber;
    }

    public void setDevicenumber(String devicenumber) {
        this.devicenumber = devicenumber == null ? null : devicenumber.trim();
    }

    public Integer getDevicetype() {
        return devicetype;
    }

    public void setDevicetype(Integer devicetype) {
        this.devicetype = devicetype;
    }

    public String getTransformercode() {
        return transformercode;
    }

    public void setTransformercode(String transformercode) {
        this.transformercode = transformercode == null ? null : transformercode.trim();
    }

    public String getLocalcity() {
        return localcity;
    }

    public void setLocalcity(String localcity) {
        this.localcity = localcity == null ? null : localcity.trim();
    }

    public String getOperationunit() {
        return operationunit;
    }

    public void setOperationunit(String operationunit) {
        this.operationunit = operationunit == null ? null : operationunit.trim();
    }

    public String getMaintenanceteam() {
        return maintenanceteam;
    }

    public void setMaintenanceteam(String maintenanceteam) {
        this.maintenanceteam = maintenanceteam == null ? null : maintenanceteam.trim();
    }

    public String getVoltagelevel() {
        return voltagelevel;
    }

    public void setVoltagelevel(String voltagelevel) {
        this.voltagelevel = voltagelevel == null ? null : voltagelevel.trim();
    }

    public String getEquipmentstate() {
        return equipmentstate;
    }

    public void setEquipmentstate(String equipmentstate) {
        this.equipmentstate = equipmentstate == null ? null : equipmentstate.trim();
    }

    public String getOperationstate() {
        return operationstate;
    }

    public void setOperationstate(String operationstate) {
        this.operationstate = operationstate == null ? null : operationstate.trim();
    }

    public String getCommissioningdate() {
        return commissioningdate;
    }

    public void setCommissioningdate(String commissioningdate) {
        this.commissioningdate = commissioningdate == null ? null : commissioningdate.trim();
    }

    public String getLinetype() {
        return linetype;
    }

    public void setLinetype(String linetype) {
        this.linetype = linetype == null ? null : linetype.trim();
    }

    public double getTotallinelength() {
        return totallinelength;
    }

    public void setTotallinelength(double totallinelength) {
        this.totallinelength = totallinelength;
    }

    public double getOverheadlinelength() {
        return overheadlinelength;
    }

    public void setOverheadlinelength(double overheadlinelength) {
        this.overheadlinelength = overheadlinelength;
    }

    public double getCablelength() {
        return cablelength;
    }

    public void setCablelength(double cablelength) {
        this.cablelength = cablelength;
    }

    public String getEquipmentowner() {
        return equipmentowner;
    }

    public void setEquipmentowner(String equipmentowner) {
        this.equipmentowner = equipmentowner == null ? null : equipmentowner.trim();
    }

    public String getAssetsnature() {
        return assetsnature;
    }

    public void setAssetsnature(String assetsnature) {
        this.assetsnature = assetsnature == null ? null : assetsnature.trim();
    }

    public String getAssetunit() {
        return assetunit;
    }

    public void setAssetunit(String assetunit) {
        this.assetunit = assetunit == null ? null : assetunit.trim();
    }

    public String getAssetnumber() {
        return assetnumber;
    }

    public void setAssetnumber(String assetnumber) {
        this.assetnumber = assetnumber == null ? null : assetnumber.trim();
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

    public Long getCreateid() {
        return createid;
    }

    public void setCreateid(Long createid) {
        this.createid = createid;
    }

    public Long getCompanyid() {
        return companyid;
    }

    public void setCompanyid(Long companyid) {
        this.companyid = companyid;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Date getLastmodifiedtime() {
        return lastmodifiedtime;
    }

    public void setLastmodifiedtime(Date lastmodifiedtime) {
        this.lastmodifiedtime = lastmodifiedtime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getGiscode() {
        return giscode;
    }

    public void setGiscode(String giscode) {
        this.giscode = giscode == null ? null : giscode.trim();
    }

    public Long getLastoperatorid() {
        return lastoperatorid;
    }

    public void setLastoperatorid(Long lastoperatorid) {
        this.lastoperatorid = lastoperatorid;
    }

    public Integer getSyncstatus() {
        return syncstatus;
    }

    public void setSyncstatus(Integer syncstatus) {
        this.syncstatus = syncstatus;
    }

    @Override
    public String toString() {
        return "Dyxl [deviceid=" + deviceid + ", devicename=" + devicename + ", devicenumber=" + devicenumber + ", devicetype="
                + devicetype + ", transformercode=" + transformercode + ", localcity=" + localcity + ", operationunit="
                + operationunit + ", maintenanceteam=" + maintenanceteam + ", voltagelevel=" + voltagelevel
                + ", equipmentstate=" + equipmentstate + ", operationstate=" + operationstate + ", commissioningdate="
                + commissioningdate + ", linetype=" + linetype + ", totallinelength=" + totallinelength
                + ", overheadlinelength=" + overheadlinelength + ", cablelength=" + cablelength + ", equipmentowner="
                + equipmentowner + ", assetsnature=" + assetsnature + ", assetunit=" + assetunit + ", assetnumber="
                + assetnumber + ", note=" + note + ", createid=" + createid + ", companyid=" + companyid
                + ", createdate=" + createdate + ", lastmodifiedtime=" + lastmodifiedtime + ", status=" + status
                + ", giscode=" + giscode + ", lastoperatorid=" + lastoperatorid + ", syncstatus=" + syncstatus + "]";
    }
    
}